package cn.zhuama.system.mapper;

import cn.zhuama.org.domain.Employee;
import cn.zhuama.system.domain.EmployeeRole;
import cn.zhuama.basic.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Wilson
 * @since 2025-03-28
 */
@Repository
public interface EmployeeRoleMapper extends BaseMapper<EmployeeRole> {

    void deleteByRoleId(Long id);

    void insertEmpAndRole(Employee employee);

    void updateEmployeeAndRoleByEmpId(Employee employee);

    void deleteByEmpId(Long empId);
}
